parseItemsAsBooleanList
Type
handler
Summary
Parse a comma-delimited "item" string as a list of booleans
Syntax
parseItemsAsBooleanList(<pStringValue>,<pListLength>,<pDefaultValue>)
Description
Helper function for converting a LiveCode Script "item" list into a list of booleans, obeying the LiveCode Script rules for items.
If pListLength is provided, then the returned list will always contain that number of elements: extra elements will be discarded, and missing elements will be set to pDefaultValue.
Parameters
Name | Type | Description |
---|---|---|
pStringValue | A string containing comma-delimited "items" | |
pListLength | The number of elements the parsed list should contain | |
pDefaultValue | Value to be used for extra elements |